package com.lvyq.qrobot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvyq.qrobot.entity.SysEquip;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lvyq
 * @version 1.0
 * Create by 2024-05-31 9:47
 */
@Mapper
public interface SysEquipMapper extends BaseMapper<SysEquip> {

    @Select("SELECT * FROM sys_equip WHERE level = #{level}")
    List<SysEquip> listByLevel(@Param("level") int level);
}
